<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>用户登陆界面</title>
<style>
table {margin:auto}
</style>
</head>
<body>
<form action="/UserIndex/yanzheng" method="get">
<table>
<tr><td><p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"/></td></tr>
<tr><td>
用户名:<input type="text" name="username" >
</td></tr>
<tr><td>
密码:<input type="password" name="password" ></input>
</td></tr>
<tr><td>
<input type="radio" name="attribute"/>管理员
</td></tr>
<tr><td>
<input type="submit" name="submit" value="登陆"/>
<input type="reset" name="reset" value="重置"/>
</td></tr>
<tr><td>
<a href="/login.html">未有账号，立即注册</a>
</td></tr>
</table>
</form>
</body>
</html>